function backtopFnn(){backtopFn();}document.body.onscroll = backtopFnn;
btn_in.onclick=function(){
	zeai.ajax({url:'manghe'+zeai.extname,js:1,data:{submitok:'ajax_chkin',id:id}},function(e){var rs=zeai.jsoneval(e);
		if(rs.flag==1){
			ZeaiM.div2({obj:in_form,title:'存入资料',w:30,h:40});
			div_box.removeClass('big_normal_pic');
		}else if(rs.flag=='pay'){
			ZeaiM.div_up({obj:czbox,h:wH});
		}else{
			ZeaiM.sorry(rs);
		}
	});
}
function mhsend(formstr){
	ZeaiM.confirmUp({title:'确定本人资料真实么？否则将上报IP交由公安机关处理',cancel:'取消',ok:'确定',okfn:function(){
		zeai.ajax({url:'manghe'+zeai.extname,js:1,form:o(formstr)},function(e){var rs=zeai.jsoneval(e);
			if(rs.flag==1){
				zeai.msg(rs.msg,{time:5});
				setTimeout(function(){location.reload(true);},3000);
			}else{
				zeai.msg(rs.msg);
			}
		});
	}});
}
btn_out.onclick=function(){
	zeai.ajax({url:'manghe'+zeai.extname,js:1,data:{submitok:'ajax_chkout',id:id}},function(e){var rs=zeai.jsoneval(e);
		if(rs.flag==1){
			ZeaiM.div2({obj:out_form,title:'',w:30,h:36});
			div_box.addClass('big_normal_pic');
			out_sex.html(rs.sex);
			out_weixin.html(rs.weixin);
			out_yzah.html(rs.yzah);
			out_aboutus.html(rs.aboutus);
			out_path_b.src=rs.path_b;
		}else if(rs.flag=='pay'){	
			ZeaiM.div_up({obj:czbox,h:wH});
		}else{
			ZeaiM.sorry(rs);
		}
	});
}
var zeai_iMarquee = function (id, tag, heigh, speed, delay) {
	var me = this;
	me.EL = document.getElementById(id);
	me.PA = 0;
	me.TI = null;
	me.LH = heigh;
	me.SP = speed;
	me.DY = delay;
	me.exec = function () {
		if (me.PA) return;
		me.EL.scrollTop += 2;
		if (me.EL.scrollTop % me.LH <= 1) {
			clearInterval(me.TI);
			me.EL.appendChild(me.EL.getElementsByTagName(tag)[0]);
			me.EL.scrollTop = 0;
			setTimeout(me.start, me.DY * 1000);
		}
	};
	me.start = function () {if (me.EL.scrollHeight - me.EL.offsetHeight >= me.LH) me.TI = setInterval(me.exec, me.SP);};
	//me.EL.onmouseover = function () { me.PA = 1 };
	//me.EL.onmouseout = function () { me.PA = 0 };
	setTimeout(me.start, me.DY * 1000);
};
function zeai_iMarqueeFn(){
	zeai.ajax({url:'manghe'+zeai.ajxext+'submitok=ajax_iMarquee'},function(e){
		if(!zeai.empty(e)){
			iMarquee.html(e);
			setTimeout(function(){new zeai_iMarquee("iMarquee","li",30,20,1.5);},100);
		}
	});
}
setTimeout(function(){zeai_iMarqueeFn();},2000);